﻿using UnityEngine;
using System.Collections;

public class ItemItemHandler : MonoBehaviour {

	public UITexture itemImage;
	public ExogenesisItem assignedItem;

	public void Assign(ExogenesisItem toAssign)
	{
		assignedItem = toAssign;
		Texture tex = assignedItem.LoadItemTexture();

		itemImage.mainTexture = tex;
	}

}
